// import { PageLoading } from '@ant-design/pro-layout';

// export default PageLoading;
import 'nprogress/nprogress.css';
import React, { Component } from 'react';
import Nprogress from 'nprogress';

// 其他配置
// Nprogress.configure({ easing: 'ease', speed: 300 });

export default class PageLoading extends Component {
  componentWillMount() {
    Nprogress.start();
  }

  componentDidMount() {
    Nprogress.done();
  }
  render() {
    return <div />;
  }
}
